//
//  SectionHeadView.m
//  FloatClouds
//
//  Created by 黄威 on 16/9/9.
//  Copyright © 2016年 黄威. All rights reserved.
//

#import "SectionHeadView.h"

@implementation SectionHeadView


-(instancetype)init{

    self = [super init];
    
    if (self) {
        
        self.backgroundColor = [UIColor colorWithRed:247.0/255 green:247.0/255 blue:247.0/255 alpha:1];
        
        self.label = [[UILabel alloc]init];
        self.label.font = [UIFont systemFontOfSize:17 weight:2];
        self.label.frame = CGRectMake(25, 0,100, 30);
        self.label.text = @"产品图片";
        [self addSubview: self.label];
        
        
        self.button = [[UIButton alloc]initWithFrame:CGRectMake(165, 0, 200 ,30)];
      
        [self.button.layer setMasksToBounds:YES];
        [self.button.layer setCornerRadius:5.0];
        [self.button setTitleColor:[UIColor colorWithRed:18.0 / 255 green:86.0 / 255 blue:138.0 / 255 alpha:1] forState:UIControlStateNormal];
        [self.button setTitle:@"产看全部图片" forState:UIControlStateNormal];
        [self addSubview:self.button];
    }


    return self;

}

@end
